package com.example.gym_manage_system.view.reception;

import com.example.gym_manage_system.tools.GetProps;
import com.example.gym_manage_system.view.components.frame.MyFrame;
import org.springframework.stereotype.Component;

import javax.swing.*;
import java.util.Properties;

/**
 * @author qzy
 * @description 描述
 * @create 2023-12-12 20:05
 */

@Component
public class ReceptionMainView {
    private static final Properties props = GetProps.init();
    private static final String systemName = props.getProperty("system_name");

    public static void startReceptionView() {
        JFrame frame = new MyFrame(systemName);
        frame.setVisible(true);
    }

    public static void main(String[] args) {
        startReceptionView();
    }
}
